//提供调用article相关的api
import request from './request'

//查询所有文章
export const findArticle = (params)=>request.get('/article/findArticle',{params:params})
//删除文章
export const deleteArticle = (id)=>request.get('/article/delete?id='+id)
//增加文章
export const addArticle = (data)=>request.post('/article/add',data)